package com.egoo.ticket.server.pojo.entity;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 自定义字段VO
 * @author Administrator
 */
@Data
@ApiModel("自定义字段实例类")
public class CustomField {
	@ApiModelProperty("自定义字段id")
	private Integer id;

	@ApiModelProperty("自定义字段名称")
	private String name;

	@ApiModelProperty("自定义字段类型")
	private String type;

	@ApiModelProperty("字段来源1为系统字段，2为自定义字段")
	private Integer source;

	@ApiModelProperty("创建人id")
	private String createUserId;

	@ApiModelProperty("创建人名称")
	private String createUserName;

	@ApiModelProperty("创建时间")
	private Timestamp createTime;

	@ApiModelProperty("最后修改人id")
	private String lastUserId;

	@ApiModelProperty("最后修改人名称")
	private String lastUserName;

	@ApiModelProperty("最后修改时间")
	private Timestamp lastUpdateTime;

	@ApiModelProperty(" 使用状态 0为停用，1为启用")
	private Integer useStatus;

	@ApiModelProperty("字段内容")
	private JSONObject content;

	@ApiModelProperty("租户id")
	private String tenantId;

	private String code;
}
